package com.offcn.service;

import com.offcn.entity.User;
import com.offcn.utils.Page;

public interface UserService {
    User getUser(String username);

    void addUser(User user1);


    //分页查询
    Page<User> getUserList(String pageNo);

    User getUserById(String id);

    void updateUser(String id, String username, String password, String email);

    void deleteUserById(String id);
}

